package com.dg.river.netty.axle.msg2dev;

import com.fasterxml.jackson.annotation.JsonPropertyOrder;

import java.util.Date;

@JsonPropertyOrder({"ganId", "ganName", "longitude", "lantitude", "transTime", "type",
        "picId", "payFee", "fee"})
public class TollPath extends BaseMsg{
    //门架id
    private String ganId;
    //门架名称
    private String ganName;
    //经度
    private double longitude;
    //纬度
    private double lantitude;
    //通行时间
    private Date transTime;
    //流水类型：0：仅交易流水，1：仅牌识流水, 2: 牌识匹配门架交易流水，3：拟合补漏流水
    private short type;
    //图像id　０：表示没有图像
    private String picId;
    //应收
    private int payFee;
    //实收
    private int fee;

    public String getGanId() {
        return ganId;
    }

    public void setGanId(String ganId) {
        this.ganId = ganId;
    }

    public String getGanName() {
        return ganName;
    }

    public void setGanName(String ganName) {
        this.ganName = ganName;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLantitude() {
        return lantitude;
    }

    public void setLantitude(double lantitude) {
        this.lantitude = lantitude;
    }

    public Date getTransTime() {
        return transTime;
    }

    public void setTransTime(Date transTime) {
        this.transTime = transTime;
    }

    public short getType() {
        return type;
    }

    public void setType(short type) {
        this.type = type;
    }

    public String getPicId() {
        return picId;
    }

    public void setPicId(String picId) {
        this.picId = picId;
    }

    public int getPayFee() {
        return payFee;
    }

    public void setPayFee(int payFee) {
        this.payFee = payFee;
    }

    public int getFee() {
        return fee;
    }

    public void setFee(int fee) {
        this.fee = fee;
    }

    @Override
    public String toString() {
        return "TollPath{" +
                "ganId='" + ganId + '\'' +
                ", ganName='" + ganName + '\'' +
                ", longitude=" + longitude +
                ", lantitude=" + lantitude +
                ", transTime=" + transTime +
                ", type=" + type +
                ", picId='" + picId + '\'' +
                ", payFee=" + payFee +
                ", fee=" + fee +
                '}';
    }

    public TollPath() {
    }

    public TollPath(String ganId, String ganName, double longitude, double lantitude, Date transTime, short type, String picId, int payFee, int fee) {
        this.ganId = ganId;
        this.ganName = ganName;
        this.longitude = longitude;
        this.lantitude = lantitude;
        this.transTime = transTime;
        this.type = type;
        this.picId = picId;
        this.payFee = payFee;
        this.fee = fee;
    }
}
